package main

import (
	"github.com/go-ini/ini"
	"github.com/rs/zerolog/log"
)

var cfg *ini.File

func main() {

}

// mapTo map section
func mapTo(section string, v interface{}) {
	err := cfg.Section(section).MapTo(v)
	if err != nil {
		log.Fatalf("Cfg.MapTo %s err: %v", section, err)
	}
}
